//
//  CMResolution.h
//  BaseCamera
//
//  Created by jinbo on 2025/1/20.
//

#import <Foundation/Foundation.h>
@class CMResolution;
typedef CMResolution CameraResolution DEPRECATED_MSG_ATTRIBUTE("use CMResolution");

@interface CMResolution : NSObject
@property (nonatomic, assign) NSInteger width;
@property (nonatomic, assign) NSInteger height;
@property (nonatomic, assign) NSInteger type;
@property (nonatomic, assign) BOOL selected;

- (instancetype)initWithWidth:(NSInteger)width height:(NSInteger)height;

- (instancetype)initWithWidth:(NSInteger)width height:(NSInteger)height selected:(BOOL)selected;

- (instancetype)initWithWidth:(NSInteger)width height:(NSInteger)height type:(NSInteger)type selected:(BOOL)selected;

@end
